import { getDicts } from "@/api/system/dict/data";
import { getConfigKey } from "@/api/system/config";
import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/ruoyi";
export function installGlobalMethods(app){
    app.config.globalProperties.getDicts= getDicts

    app.config.globalProperties.getConfigKey = getConfigKey
    app.config.globalProperties.parseTime = parseTime
    app.config.globalProperties.resetForm = resetForm
    app.config.globalProperties.addDateRange = addDateRange
    app.config.globalProperties.selectDictLabel = selectDictLabel
    app.config.globalProperties.selectDictLabels = selectDictLabels
    app.config.globalProperties.download = download
    app.config.globalProperties.handleTree = handleTree

}